import request from '../request.js'

function category() {
    return request.get('/api/comm/app/category', {}, false)
}

function categoryByCode(query) {
    return request.get('/api/comm/app/categoryByCode', query, false)
}

function tag() {
    return request.get('/api/comm/app/tag', {}, false)
}

function currency(query) {
    return request.get('/api/currency/list', query, false)
}

function siteConfig(query) {
    return request.get('/api/comm/app/siteConfig', query, false)
}

function version(query) {
    return request.get('/api/comm/app/version', query, false)
}

function versionList(query) {
    return request.get('/api/comm/app/versionList', query, false)
}

function appSetting(query) {
    return request.get('/api/comm/app/appSetting', query, false)
}

export default {
    category,
    categoryByCode,
    tag,
    currency,
    siteConfig,
    version,
    versionList,
    appSetting,
}